package com.stars.entity.dto.sys;

import com.stars.common.base.BaseUUID;
import com.stars.entity.dto.system.SysRoleDTO;
import lombok.Data;

import java.util.List;

/**
 * @author :dj
 * @version : 1.0.0
 * @description
 * @Date 2019-09-28 08:43
 * @note
 */
@Data
public class SystemUserAppOrgDTO extends BaseUUID {
    private static final long serialVersionUID = -8266952830671711327L;
    private String userName;
    private String userRealName;
    private String userEmail;
    private Long userAddTime;
    private String userPassword;
    private String userSalt;
    private String userSalt2;
    private String appId;
    private String appName;
    private String companyId;
    private String roleId;
    /**
     * 公司代码
     */
    private String companyCode;
    /**
     * 公司名称
     */
    private String companyName;
    /**
     * 组织id
     */
    private String orgId;
    /**
     * 组织名称
     */
    private String orgName;
    /**
     * 组织代码
     */
    private String orgCode;
    /**是否锁定*/
    private Integer isLock;
    /**是否可用*/
    private Integer userEnabled;
    //角色名称
    private List<String> roleNames;
    /**一个用户拥有多个角色*/
    private List<SysRoleDTO> sysRoleDTOList;

}
